<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 600px;
            height: 40px;
            border: 1px solid #000;
            line-height: 40px;
            text-align: center;
        }
        a{
            text-decoration: none;
            font-size: 12px;
            font-family: '微软雅黑';
            color: #000;
            background-color: gold;
            padding: 6px 10px;
        }
    </style>
</head>
<body>
    <div>
        <a href="#">上一页</a>
        <a href="#">1</a>
        <a href="#">2</a>
        <a href="#">3</a>
        <a href="#">4</a>
        <span>...</span>
        <a href="#">17</a>
        <a href="#">18</a>
        <a href="#">19</a>
        <a href="#">20</a>
        <a href="#">下一页</a>
    </div>
</body>
</html>